package com.ruoyi.quality.mapper;

import java.util.List;
import com.ruoyi.quality.domain.QualitySale;

/**
 * 销售Mapper接口
 * 
 * @author wky
 * @date 2024-06-15
 */
public interface QualitySaleMapper 
{
    /**
     * 查询销售
     * 
     * @param saleId 销售主键
     * @return 销售
     */
    public QualitySale selectQualitySaleBySaleId(Long saleId);

    /**
     * 查询销售列表
     * 
     * @param qualitySale 销售
     * @return 销售集合
     */
    public List<QualitySale> selectQualitySaleList(QualitySale qualitySale);

    /**
     * 新增销售
     * 
     * @param qualitySale 销售
     * @return 结果
     */
    public int insertQualitySale(QualitySale qualitySale);

    /**
     * 修改销售
     * 
     * @param qualitySale 销售
     * @return 结果
     */
    public int updateQualitySale(QualitySale qualitySale);

    /**
     * 删除销售
     * 
     * @param saleId 销售主键
     * @return 结果
     */
    public int deleteQualitySaleBySaleId(Long saleId);

    /**
     * 批量删除销售
     * 
     * @param saleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteQualitySaleBySaleIds(Long[] saleIds);
}
